#if !defined(AFX_ANNODIALOG_H__E792734E_EA33_4298_80AD_7D3C86DA8ADD__INCLUDED_)
#define AFX_ANNODIALOG_H__E792734E_EA33_4298_80AD_7D3C86DA8ADD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AnnoDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CAnnoDialog dialog
#include "AnnoWnd.h"

class CAnnoDialog : public CDialog
{
// Construction
public:
	CAnnoDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAnnoDialog)
	enum { IDD = IDD_ANNO_DIALOG };
	CEdit	m_wndDat9;
	CEdit	m_wndDat8;
	CEdit	m_wndDat7;
	CEdit	m_wndDat6;
	CEdit	m_wndDat5;
	CEdit	m_wndCls9;
	CEdit	m_wndCls8;
	CEdit	m_wndCls7;
	CEdit	m_wndCls6;
	CEdit	m_wndCls5;
	CEdit	m_wndText;
	CAnnoWnd	m_annoWnd;
	CListBox	m_lvDat;
	CListBox	m_lvCls;
	CEdit	m_wndDat4;
	CEdit	m_wndDat3;
	CEdit	m_wndDat2;
	CEdit	m_wndDat1;
	CEdit	m_wndDat0;
	CEdit	m_wndCls4;
	CEdit	m_wndCls3;
	CEdit	m_wndCls2;
	CEdit	m_wndCls1;
	CEdit	m_wndCls0;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnnoDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAnnoDialog)
	afx_msg void OnKillfocusEditCls0();
	afx_msg void OnSetfocusEditCls0();
	virtual BOOL OnInitDialog();
	afx_msg void OnKillfocusEditCls1();
	afx_msg void OnSetfocusEditCls1();
	afx_msg void OnKillfocusEditCls2();
	afx_msg void OnSetfocusEditCls2();
	afx_msg void OnKillfocusEditCls3();
	afx_msg void OnSetfocusEditCls3();
	afx_msg void OnKillfocusEditCls4();
	afx_msg void OnSetfocusEditCls4();
	afx_msg void OnSelchangeListCls();
	afx_msg void OnKillfocusEditDat0();
	afx_msg void OnSetfocusEditDat0();
	afx_msg void OnKillfocusEditDat1();
	afx_msg void OnSetfocusEditDat1();
	afx_msg void OnKillfocusEditDat2();
	afx_msg void OnSetfocusEditDat2();
	afx_msg void OnKillfocusEditDat3();
	afx_msg void OnSetfocusEditDat3();
	afx_msg void OnKillfocusEditDat4();
	afx_msg void OnSetfocusEditDat4();
	afx_msg void OnDblclkListDat();
	afx_msg void OnChangeEditText();
	afx_msg void OnKillfocusEditCls5();
	afx_msg void OnSetfocusEditCls5();
	afx_msg void OnKillfocusEditCls6();
	afx_msg void OnSetfocusEditCls6();
	afx_msg void OnKillfocusEditCls7();
	afx_msg void OnSetfocusEditCls7();
	afx_msg void OnKillfocusEditCls8();
	afx_msg void OnSetfocusEditCls8();
	afx_msg void OnKillfocusEditCls9();
	afx_msg void OnSetfocusEditCls9();
	afx_msg void OnKillfocusEditDat5();
	afx_msg void OnSetfocusEditDat5();
	afx_msg void OnKillfocusEditDat6();
	afx_msg void OnSetfocusEditDat6();
	afx_msg void OnKillfocusEditDat7();
	afx_msg void OnSetfocusEditDat7();
	afx_msg void OnKillfocusEditDat8();
	afx_msg void OnSetfocusEditDat8();
	afx_msg void OnKillfocusEditDat9();
	afx_msg void OnSetfocusEditDat9();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	CEJPage* page;
	WORD	annoIndex;

	CEdit*	m_wndCls[NUM_ANNO_ITEM];
	CEdit*	m_wndDat[NUM_ANNO_ITEM];

	WORD	m_nItemIndex;
	long	m_nCls;

	BYTE	m_bModified;

	void	RefreshCls();
	void	BeginEdit(WORD index);
	void	EndEdit(WORD index);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANNODIALOG_H__E792734E_EA33_4298_80AD_7D3C86DA8ADD__INCLUDED_)
